﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using iTextSharp.text.pdf;

//namespace TestConsoleApplication
//{
//    class Program
//    {
//        static void Main(string[] args)
//        {
//            var reader = new PdfReader("testSheet.pdf");

//            int counter = 0;

//            System.IO.FileStream stream = new System.IO.FileStream("ergSheet.pdf", System.IO.FileMode.Create);

//            PdfStamper stamper = new PdfStamper(reader, stream);
//            AcroFields form = stamper.AcroFields;

//            form.SetField("Character Name", "Mark");
//            stamper.Dispose();
//            stream.Dispose();
                              
//            reader.Close();
                                           
//            Console.WriteLine();

//            Console.WriteLine("Press any key");
//            Console.ReadKey(true);
//        }
//    }
//}
